package com.example.yichuangyun.model.company;

import java.util.ArrayList;
import java.util.List;

/**
 * 经营异常
 */
public class RiskInfoDataModel {
    private String title;
    private int count;
    private boolean isOpen;
    /**
     * 税务异常-非正常户
     */
    private List<RiskModel> tabnormalEnterprises = new ArrayList<>();
    /**
     * 经营异常
     */
    private List<RiskModel> tabnormalList = new ArrayList<>();
    /**
     * 行政处罚
     */
    private List<RiskModel> tadministrativePunishments = new ArrayList<>();
    /**
     * 税务异常-重大税收违法
     */
    private List<RiskModel> thugeTaxPunishments = new ArrayList<>();
    /**
     * 严重违法失信
     */
    private List<RiskModel> tseriousIllegals = new ArrayList<>();
    /**
     * 税务异常（非正常户表+重大税收违法）
     */
    private List<RiskModel> totalData = new ArrayList<>();

    public RiskInfoDataModel(String title, int count, boolean isOpen) {
        this.title = title;
        this.count = count;
        this.isOpen = isOpen;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public boolean isOpen() {
        return isOpen;
    }

    public void setOpen(boolean open) {
        isOpen = open;
    }

    public List<RiskModel> getTabnormalEnterprises() {
        return tabnormalEnterprises;
    }

    public void setTabnormalEnterprises(List<RiskModel> tabnormalEnterprises) {
        this.tabnormalEnterprises = tabnormalEnterprises;
    }

    public List<RiskModel> getTabnormalList() {
        return tabnormalList;
    }

    public void setTabnormalList(List<RiskModel> tabnormalList) {
        this.tabnormalList = tabnormalList;
    }

    public List<RiskModel> getTadministrativePunishments() {
        return tadministrativePunishments;
    }

    public void setTadministrativePunishments(List<RiskModel> tadministrativePunishments) {
        this.tadministrativePunishments = tadministrativePunishments;
    }

    public List<RiskModel> getThugeTaxPunishments() {
        return thugeTaxPunishments;
    }

    public void setThugeTaxPunishments(List<RiskModel> thugeTaxPunishments) {
        this.thugeTaxPunishments = thugeTaxPunishments;
    }

    public List<RiskModel> getTseriousIllegals() {
        return tseriousIllegals;
    }

    public void setTseriousIllegals(List<RiskModel> tseriousIllegals) {
        this.tseriousIllegals = tseriousIllegals;
    }

    public List<RiskModel> getTotalData() {
        return totalData;
    }

    public void setTotalData(List<RiskModel> totalData) {
        this.totalData = totalData;
    }

    public static class RiskModel {
        /**
         * 列入日期
         */
        private String inDate;
        /**
         * 做出决定机关/处罚单位
         */
        private String department;
        /**
         * 列入异常名录原因
         */
        private String inReason;
        /**
         * 移除日期
         */
        private String outDate;
        /**
         * 移除原因
         */
        private String outReason;

        /**
         * 决定文书号
         */
        private String date;
        /**
         * 处罚事由
         */
        private String number;
        /**
         * 处罚单位
         */
        private String reason;
        /**
         * 处罚结果
         */
        private String content;
        /**
         * 列入机关
         */
        private String inDepartment;
        /**
         * 移出机关
         */
        private String outDepartment;
        /**
         * 发布时间
         */
        private String time;
        /**
         * 所属税务机关
         */
        private String pubDepartment;
        /**
         * 案件性质
         */
        private String caseType;
        /**
         * 认定日期
         */
        private String judgeDate;
        /**
         * 纳税人识别号
         */
        private String taxNum;
        /**
         * 欠税税种
         */
        private String overdueType;
        /**
         * 欠税金额
         */
        private String overdueAmount;
        /**
         * 异常类型 0重大税收违法 1非正常户
         */
        private int type;

        public RiskModel(String judgeDate, String taxNum, String overdueType, String overdueAmoun, int type) {
            this.judgeDate = judgeDate;
            this.taxNum = taxNum;
            this.overdueType = overdueType;
            this.type = type;
        }

        public RiskModel(String time, String pubDepartment, String caseType, int type) {
            this.time = time;
            this.pubDepartment = pubDepartment;
            this.caseType = caseType;
            this.type = type;
        }

        public String getInDate() {
            return inDate;
        }

        public void setInDate(String inDate) {
            this.inDate = inDate;
        }

        public String getDepartment() {
            return department;
        }

        public void setDepartment(String department) {
            this.department = department;
        }

        public String getInReason() {
            return inReason;
        }

        public void setInReason(String inReason) {
            this.inReason = inReason;
        }

        public String getOutDate() {
            return outDate;
        }

        public void setOutDate(String outDate) {
            this.outDate = outDate;
        }

        public String getOutReason() {
            return outReason;
        }

        public void setOutReason(String outReason) {
            this.outReason = outReason;
        }

        public String getDate() {
            return date;
        }

        public void setDate(String date) {
            this.date = date;
        }

        public String getNumber() {
            return number;
        }

        public void setNumber(String number) {
            this.number = number;
        }

        public String getReason() {
            return reason;
        }

        public void setReason(String reason) {
            this.reason = reason;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getInDepartment() {
            return inDepartment;
        }

        public void setInDepartment(String inDepartment) {
            this.inDepartment = inDepartment;
        }

        public String getOutDepartment() {
            return outDepartment;
        }

        public void setOutDepartment(String outDepartment) {
            this.outDepartment = outDepartment;
        }

        public String getTime() {
            return time;
        }

        public void setTime(String time) {
            this.time = time;
        }

        public String getPubDepartment() {
            return pubDepartment;
        }

        public void setPubDepartment(String pubDepartment) {
            this.pubDepartment = pubDepartment;
        }

        public String getCaseType() {
            return caseType;
        }

        public void setCaseType(String caseType) {
            this.caseType = caseType;
        }

        public String getJudgeDate() {
            return judgeDate;
        }

        public void setJudgeDate(String judgeDate) {
            this.judgeDate = judgeDate;
        }

        public String getTaxNum() {
            return taxNum;
        }

        public void setTaxNum(String taxNum) {
            this.taxNum = taxNum;
        }

        public String getOverdueType() {
            return overdueType;
        }

        public void setOverdueType(String overdueType) {
            this.overdueType = overdueType;
        }

        public String getOverdueAmount() {
            return overdueAmount;
        }

        public void setOverdueAmount(String overdueAmount) {
            this.overdueAmount = overdueAmount;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }
    }
}
